package org.jeecg.modules.demo.issuingrecords.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.issuingrecords.entity.IssuingRecords;

import java.util.List;
import java.util.Map;

/**
 * @Description: 发卡记录
 * @Author: jeecg-boot
 * @Date: 2022-01-07
 * @Version: V1.0
 */
public interface IIssuingRecordsService extends IService<IssuingRecords> {
    int countMemVip(String recordId);

    int countMemReciveVip(String recordId);

    int countMemShareVip(String recordId);

    String getShareMemeberIds(String recordId);

    List<Map> listMemVip(String recordId, String name, String phone, Integer pageNo, Integer pageSize);

    List<Map> listMemReciveVip(List<String> ids, String name, String phone, Integer pageNo, Integer pageSize);

    List<Map> listMemShareVip(String recordId, String name, String phone, Integer pageNo, Integer pageSize);

    Integer countVipEx(String recordId, String name, String phone);

    Integer countReciveVipEx(List<String> ids, String name, String phone);

    Integer countShareVipEx(String recordId, String name, String phone);

    List<Map> listDrawRecord(@Param("storeId") String storeId, @Param("issuingId") String issuingId, String name, String phone, String enterStoreStatus, Integer pageNo, Integer pageSize);

    int countDrawRecord(@Param("storeId") String storeId, @Param("issuingId") String issuingId, String name, String phone, String enterStoreStatus);
}
